//
//  NSDate+Extension.h
//  TLYunCMS
//
//  Created by mac on 2016/11/30.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Extension)
//时间转换
+(NSDate *)getDateFromMilliSec:(NSInteger )miliSec;
///date转string
- (NSString *)stringWithFormat:(NSString *)format;
///date转string 默认YYYY-MM-dd HH:mm:ss
- (NSString *)stringWithFormatDefult;
@end
